<?php 
/**
 * 简单工厂模式
 */

namespace DesignPatterns\Creational\SimpleFactory;

class SimpleFactory
{
	public function createBicyle():Bicyle{
		return new Bicyle();
	}
}

...